#include <iostream>
#include <fstream>
#include <vector>
#include "lexer.hxx"
using namespace std;
int main(int argc, char *argv[])
{
    ifstream file(argv[1], ios::in);
    string f="";
    if (!file.is_open())
    {
        cerr << "ERR:0001" << endl;
        exit(1);
    }
    char buff [1024] = { 0 };
    while (file.getline (buff, sizeof(buff))) {
        f.append (buff);
    }
    file.close ();
    Lexer l;
    l.inter (f);
    return 0;
}
